

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

@interface XWEncryptor : NSObject
///  AES 加密
///
///    -return： 加密字符串
+ (NSString *)xw_AesEncrypt:(NSString *)string withKey:(NSString *)key iv:(NSString *)iv;
///  AES 解密
///
///    -return： 解密字符串
+ (NSString *)xw_AesDecrypt:(NSString *)string withKey:(NSString *)key iv:(NSString *)iv;
///   md5
///
///    -return： md5后的字符串
+ (NSString *)xw_calcStringMD5:(NSString *)srcStr;
@end

NS_ASSUME_NONNULL_END
